.class public abstract Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;
.super Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

# interfaces
.implements Ljava/util/Observer;


# instance fields
.field public a:Z

.field public final b:Ljava/lang/String;

.field private c:Landroid/widget/ImageView;

.field private d:Landroid/widget/LinearLayout;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/TextView;

.field private g:Z

.field private h:Ljava/util/List;

.field private i:Ljava/lang/String;

.field private s:Ljava/lang/String;

.field private t:Landroid/view/View;

.field private u:Landroid/view/View$OnClickListener;

.field private v:Lcom/waiqin365/lightapp/view/bx;

.field private w:Lcom/waiqin365/lightapp/view/by;

.field private x:Ljava/lang/String;

.field private y:Landroid/widget/ImageView;

.field private z:Z


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->g:Z

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->h:Ljava/util/List;

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->x:Ljava/lang/String;

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->b:Ljava/lang/String;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->z:Z

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->a(Landroid/content/Context;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->d:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method private a(Landroid/content/Context;)V
    .locals 3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->getContext()Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f03006c

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->addView(Landroid/view/View;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->s()V

    const v0, 0x7f0c0083

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->c:Landroid/widget/ImageView;

    const v0, 0x7f0c02cf

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->d:Landroid/widget/LinearLayout;

    const v0, 0x7f0c02d0

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->f:Landroid/widget/TextView;

    const v0, 0x7f0c02d2

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->e:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->d:Landroid/widget/LinearLayout;

    new-instance v2, Lcom/waiqin365/lightapp/view/bu;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/view/bu;-><init>(Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;)V

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c005a

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->t:Landroid/view/View;

    const v0, 0x7f0c02d3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->y:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->y:Landroid/widget/ImageView;

    new-instance v1, Lcom/waiqin365/lightapp/view/bv;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/bv;-><init>(Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->g()V

    return-void
.end method

.method private a(Ljava/util/List;)V
    .locals 1

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->h:Ljava/util/List;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->h:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->g()V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->q()V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->z:Z

    return v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->g:Z

    return v0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->r()V

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->h:Ljava/util/List;

    return-object v0
.end method

.method private q()V
    .locals 1

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->o()V

    return-void
.end method

.method private r()V
    .locals 1

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->p()V

    return-void
.end method

.method private s()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/view/bw;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/bw;-><init>(Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->u:Landroid/view/View$OnClickListener;

    return-void
.end method


# virtual methods
.method public abstract a(Ljava/lang/Object;)Ljava/lang/String;
.end method

.method public abstract b(Ljava/lang/Object;)Ljava/lang/String;
.end method

.method public c()Ljava/lang/CharSequence;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->f:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    return-object v0
.end method

.method public d()Ljava/lang/CharSequence;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->e:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    if-nez v0, :cond_0

    const-string/jumbo v0, ""

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->e:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    goto :goto_0
.end method

.method public e()Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->h:Ljava/util/List;

    return-object v0
.end method

.method public f()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->s:Ljava/lang/String;

    return-object v0
.end method

.method public g()V
    .locals 5

    const/4 v1, 0x0

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->i:Ljava/lang/String;

    const-string/jumbo v0, ""

    move-object v2, v0

    move v0, v1

    :goto_0
    iget-object v3, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->h:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    if-ge v0, v3, :cond_0

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->h:Ljava/util/List;

    invoke-interface {v3, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->b(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ","

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->i:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->h:Ljava/util/List;

    invoke-interface {v4, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->a(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ","

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->i:Ljava/lang/String;

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->setValue(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->i:Ljava/lang/String;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->i:Ljava/lang/String;

    const-string/jumbo v2, ","

    invoke-virtual {v0, v2}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->i:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->i:Ljava/lang/String;

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->i:Ljava/lang/String;

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->w:Lcom/waiqin365/lightapp/view/by;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->w:Lcom/waiqin365/lightapp/view/by;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->h:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    invoke-interface {v0, v1}, Lcom/waiqin365/lightapp/view/by;->a(I)V

    :cond_2
    return-void
.end method

.method public h()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->g()V

    return-void
.end method

.method public i()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->i:Ljava/lang/String;

    return-object v0
.end method

.method public n()V
    .locals 0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->h()V

    return-void
.end method

.method public abstract o()V
.end method

.method protected onDetachedFromWindow()V
    .locals 1

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    invoke-super {p0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->onDetachedFromWindow()V

    return-void
.end method

.method public abstract p()V
.end method

.method public setBottomLineStatus(Z)V
    .locals 2

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->t:Landroid/view/View;

    if-eqz p1, :cond_0

    const/4 v0, 0x0

    :goto_0
    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    return-void

    :cond_0
    const/16 v0, 0x8

    goto :goto_0
.end method

.method public setEdit(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->g:Z

    return-void
.end method

.method public setEnableIds(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->s:Ljava/lang/String;

    return-void
.end method

.method public setHint(Ljava/lang/CharSequence;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->e:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setHint(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public setLabel(Ljava/lang/CharSequence;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->f:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public setList(Ljava/util/List;)V
    .locals 1

    if-nez p1, :cond_0

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->h:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->g()V

    goto :goto_0
.end method

.method public setMustinput(Ljava/lang/String;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMustinput(Ljava/lang/String;)V

    const-string/jumbo v0, "1"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->g:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->c:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public setOnSelectClickDialog(Ljava/lang/String;Lcom/waiqin365/lightapp/view/bx;)V
    .locals 0

    iput-object p2, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->v:Lcom/waiqin365/lightapp/view/bx;

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->x:Ljava/lang/String;

    return-void
.end method

.method public setOnSizeChange(Lcom/waiqin365/lightapp/view/by;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->w:Lcom/waiqin365/lightapp/view/by;

    return-void
.end method

.method public setSelectedIds(Ljava/lang/String;)V
    .locals 3

    if-nez p1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iput-object p1, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->i:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->i:Ljava/lang/String;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->i:Ljava/lang/String;

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->i:Ljava/lang/String;

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->i:Ljava/lang/String;

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->i:Ljava/lang/String;

    goto :goto_0
.end method

.method public setValue(Ljava/lang/String;)V
    .locals 3

    const/4 v2, 0x0

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    invoke-virtual {p1, v2, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->e:Landroid/widget/TextView;

    const-string/jumbo v1, "#1a1a1a"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->z:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->y:Landroid/widget/ImageView;

    const v1, 0x7f02016b

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->e:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->e:Landroid/widget/TextView;

    const-string/jumbo v1, "#cccccc"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iput-boolean v2, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->z:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->y:Landroid/widget/ImageView;

    const v1, 0x7f02001e

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0
.end method

.method public setWindowMode(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->a:Z

    return-void
.end method

.method public update(Ljava/util/Observable;Ljava/lang/Object;)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->d:Landroid/widget/LinearLayout;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setEnabled(Z)V

    if-eqz p2, :cond_0

    instance-of v0, p2, Lcom/waiqin365/lightapp/view/a/a;

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->b:Ljava/lang/String;

    move-object v0, p2

    check-cast v0, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/a/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    move-object v0, p2

    check-cast v0, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    instance-of v0, v0, Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    check-cast p2, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, p2, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    check-cast v0, Ljava/util/ArrayList;

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v1

    invoke-virtual {v1, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/view/BaseSelectMultViewH;->a(Ljava/util/List;)V

    :cond_0
    return-void
.end method
